package gatperdut.chato.core.interpreter.actions;

import gatperdut.chato.constants.CSConstantsCommandResult.CommandExecutionResult;
import gatperdut.chato.core.characters.BaseController;
import gatperdut.chato.core.interpreter.actions.generic.LookAction;
import gatperdut.chato.core.interpreter.grammar.comminfo.LookInfo;

public class LookAroundAction extends LookAction {

    public LookAroundAction( LookInfo info, BaseController entityController ) {
        super( info, entityController );
    }

    @Override
    public CommandExecutionResult perform() {
        checkForRunningCraft();

        getEntityController().tx( getEntityController().getRoomController().show( getEntityController() ) );
        return CommandExecutionResult.OK;

    }
}
